package com.whfc.fmam.entity.qo;

import lombok.Getter;
import lombok.Setter;
import lombok.ToString;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import javax.validation.constraints.Size;
import java.io.Serializable;

/**
 * @Description:
 * @author: xugcheng
 * @version: 1.0
 * @date: 2019/10/16 9:58
 */
@Setter
@Getter
@ToString
public class AccessTokenQO implements Serializable {

    /**
     * appId
     */
    @NotEmpty
    private String appId;

    /**
     * 时间戳
     */
    @NotNull
    private Long timestamp;

    /**
     * 随机字符串
     */
    @NotEmpty
    @Size(max = 16)
    private String randomStr;

    /**
     * 签名
     */
    @NotEmpty
    private String sign;


    /**
     * 磁盘sn
     */
    private String diskSn;

    /**
     * mac地址
     */
    private String mac;
}
